﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="cn_register.aspx.vb" Inherits="georgia_globaltp.cn_register" %>
<%@ Register TagPrefix="header" TagName="georgia_header" Src="../webControls/cn_georgia_header.ascx" %>
<%@ Register TagPrefix="foot" TagName="georgia_foot" Src="../webControls/cn_georgia_foot.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>注册</title>
<link rel="stylesheet" type="text/css" href="../assets/global_cn.css" />
<link rel="shortcut icon" type="image/x-icon" href="../assets/GeorgiaOrgFavicon.ico"/>

    <script type="text/javascript" src="../assets/js/dojoroot/dojo/dojo.js" djConfig="parseOnLoad:false">
    </script>
    <style type="text/css">
        .style1
        {
            width:130px;
        }
        .style3
        {
            width: 184px;
        }
        .style4
        {
            width: 227px;
        }
        .style5
        {
            width: 230px;
        }
        </style>
        <script type="text/javascript" src="../assets/js/countries.js" ></script>
        <script type="text/javascript">
            function init() {
            
            renderCountries();
            dojo.addOnLoad(function () {
                dojo.connect(document.form2.country, "change", renderStates);
            });
            };
            function renderCountries() {
                var temp='';
                for (var i in countries) {
                    temp='<option value="'+countries[i].id+'">'+countries[i].zh+'</option>';
                    dojo.place(temp, dojo.byId("country"), "last");
                }
            };
            function renderStates() {
                document.form2.state.innerHTML = '<option value=""> ------地区------ </option>';
                var cc = document.form2.country.options[document.form2.country.selectedIndex].value;
                if (cc == "") return;
                for (var i in countries) {
                    if (countries[i].id == cc) {
                        for (j in countries[i].province){
                            document.form2.state.innerHTML += '<option value="' + countries[i].province[j].id + '">' + countries[i].province[j].zh + '</option>';
                            dojo.place('<option value="' + countries[i].province[j].id + '">' + countries[i].province[j].zh + '</option>', dojo.byId("state"), "last");
                        }
                    }
                }
            };
        </script>
    </head>
<body onload="init()">
	<div id="outer">
    	<div id="main">
        	<header:georgia_header id="GeorgiaHeaderRegister" runat="server"></header:georgia_header>
        	<div id="content">
                <div id="levelPathBar">
                	<a  href="cn_index.aspx" >首页 &nbsp;</a>&gt;
                    注册
                </div>
            	<div id="content2" style="text-align:center;">
                	<form id="form2" runat="server">
                    <div id="registerDiv">
                    	<div style ="font-size:medium; height: 6px;">想接触更多买家？立即免费注册！<br/></div>
                            <div>★ “销售我的产品”是GA国际贸易中心门户网站推出的一项免费服务。<br/>
                            ★&nbsp; 您可以借助此项服务进行国际和国内贸易推广。<br/>
                            ★&nbsp; 在GA国际贸易中心门户网站中展示贵公司及产品信息。<br/></div>                                  
                        <div style="background-color:#A3C8E9; color:Red"><span style="float:right;">带有<img alt="required field" src="../images/required.gif" border="0"/>的项目必须填写</span>基本信息</div>
                        <div style="padding:0px;">
                        	<table width="100%">
                            	<tr>
                                	<td class="style1" align ="right" >电子邮箱 <img alt="required field" src="../images/required.gif" border="0"/></td>
                                    <td class="style4"><asp:textbox id="email" Runat="server"  Width ="200px"></asp:textbox></td>
                                    <td ><asp:Label id="emailErr" runat ="server" ForeColor="#CC0000"></asp:Label></td>
                                </tr>
                                <tr>
                                	<td class="style1" align ="right">密码 <img alt="required field" src="../images/required.gif" border="0"/></td>
                                    <td class="style4"><asp:textbox id="pswd" runat="server" maxlength="15" 
                                            Width ="200px" TextMode="Password"></asp:textbox></td>
                                    <td><asp:Label id="pwdErr" runat ="server" ForeColor="#CC0000"></asp:Label></td>
                                </tr>
                            	<tr>
                                	<td class="style1" align ="right">确认密码 <img alt="required field" src="../images/required.gif" border="0"/></td>
                                    <td class="style4"><asp:textbox id="confirmpswd" runat="server" maxlength="15" Width ="200px" 
                                            TextMode="Password"></asp:textbox></td>
                                    <td>&nbsp;</td>
                                </tr>
                                <tr>
                                	<td class="style1" align ="right">真实姓名 <img alt="required field" src="../images/required.gif" border="0"/></td>
                                    <td class="style4"><asp:textbox id="userName" runat="server" Width ="130px"></asp:textbox><asp:RadioButton ID="male" runat="server" Text="男"  Checked ="true" GroupName ="gender" /><asp:RadioButton ID ="female" runat ="server" Text="女" GroupName ="gender"/> </td>
                                    <td><asp:Label id="unameErr" runat ="server" ForeColor="#CC0000"></asp:Label></td>
                                </tr>
                                <tr>
                                	<td class="style1" align ="right">固定电话 <img alt="required field" src="../images/required.gif" border="0"/></td>
                                    <td class="style4"><asp:textbox id="phone" runat="server" maxlength="50" Width ="200px"></asp:textbox></td>                               
                                    <td><asp:Label id="phoneErr" runat ="server" ForeColor="#CC0000"></asp:Label></td>
                                </tr>
                                <tr>
                                	<td class="style1" align ="right">手机&nbsp; &nbsp;&nbsp; </td>
                                    <td colspan="2"><asp:textbox id="cellphone" runat="server" maxlength="50" Width ="200px"></asp:textbox></td>
                                </tr></table>
                                 <div style="background-color:#A3C8E9; color:Red"><span style="float:right;">带有<img alt="required field" src="../images/required.gif" border="0"/>的项目必须填写</span>公司信息
                                 </div>
                            	<table width="100%">
                                <tr>
                                	<td class="style1" align ="right">公司名称 <img alt="required field" src="../images/required.gif" border="0"/></td>
                                    <td class="style4"><asp:textbox id="CompName" runat="server" maxlength="50" Width ="200px"></asp:textbox></td>
                                    <td><asp:Label id="cnameErr" runat ="server" ForeColor="#CC0000"></asp:Label></td>
                               </tr>
                                
                                <tr>
                                	<td class="style1" align ="right">主营行业 <img alt="required field" src="../images/required.gif" border="0"/></td>
                                    <td class="style4"><asp:dropdownlist id="productField" Runat="server" Width ="200px">
													<asp:ListItem Value=""> ----------请选择---------- </asp:ListItem>												
												</asp:dropdownlist></td>
                                    <td><asp:Label id="industryErr" runat ="server" ForeColor="#CC0000"></asp:Label></td>
                                </tr>
                            	<tr>
                                	<td class="style1" align ="right">公司地区 <img alt="required field" src="../images/required.gif" border="0"/>
                                            </td>
                                    <td class="style4"><select  id="country" name="country" style="width: 70px">
													<option value="" > -国家- </option>
												</select>

                                                <select id="state" Runat="server" style="width: 140px">
													<option value=""> ------地区------</option>
												</select></td>
                                                <td><asp:Label id="countryErr" runat ="server" ForeColor="#CC0000"></asp:Label><asp:Label id="stateErr" runat ="server" ForeColor="#CC0000"></asp:Label></td>
                                </tr>               
                            	</table>
                                <div style="background-color:#A3C8E9; color:Red">服务条款</div>
                                <table width="100%">
                            	<tr>
                                	<td class="style1" align ="right">验证码 <img alt="required field" src="../images/required.gif" border="0"/></td>
                                    <td class="style5"><asp:textbox id="validate" Runat="server" Width ="50px"></asp:textbox><img id="vcimg" src ="../utils/gif.aspx"  alt="validate code"/><a href="#" onclick="dojo.byId('vcimg').src='../utils/gif.aspx?time='+new Date()">看不清，换一张</a></td>
                                    <td><asp:Label id="validateInfo" runat ="server" ForeColor="#CC0000"></asp:Label></td>
                                </tr>
                                <tr>
                                	<td colspan="2" class="style3" >&nbsp;</td>
                                </tr>
                                <tr>
                                	<td colspan="1" ></td>
                                	<td class="style5">我已阅读并接受<a href="cn_serviceinfo.aspx">“服务条款”</a></td>
                                </tr>
                                <tr>
                                    <td colspan="1" align ="right" ><asp:CheckBox ID="isInformation" runat="server"/></td>
                                	<td class="style5" >愿意收到感兴趣的买卖信息</td>                 
                                </tr>
                                </table>                              
                          
                        </div>
                        <div style="text-align:center;background-color:#A3C8E9;">
									<asp:button id="btnCreate" Runat="server" Text="成为GA国际贸易中心会员" ></asp:button>
                        </div>
                     </div>
                    </form>
                </div>
       	  </div>
      </div>
        <foot:georgia_foot id="GeorgiaFootRegister" runat="server"></foot:georgia_foot>
    </div>
</body>
</html>
